﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ERP_SaaS_WinForm.登录
{
    public partial class MainProductMes : Form
    {
        public MainProductMes()
        {
            InitializeComponent();
            this.IsMdiContainer = true;
        }

        private void 产品库存ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //var procurementForm = new ERP_SaaS_WinForm.登录.ShowProducts();
            //procurementForm.Show();
            ShowProducts productsForm = new ShowProducts();
            productsForm.MdiParent = this; // 如果是MDI应用程序
            productsForm.Show();
        }

        private void 产品检验ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //var procurementForm = new ERP_SaaS_WinForm.登录.ShowProductInspections();
            //procurementForm.Show();
            ShowProductInspections productsForm = new ShowProductInspections();
            productsForm.MdiParent = this; // 如果是MDI应用程序
            productsForm.Show();
        }

        private void 销售出库ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //var procurementForm = new ERP_SaaS_WinForm.登录.ShowProductStroge();
            //procurementForm.Show();
            ShowProductStroge storageForm = new ShowProductStroge();
            storageForm.MdiParent = this; // 如果是MDI应用程序
            storageForm.Show();
        }
    }
}
